.carousel {
  /* 子绝父相，让该父盒子作为子盒子的定位参考 */
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  background-color: rgb(227, 226, 226);
}

.box {
  height: 50vh;
  width: 70%;
  background-color: blue;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左箭头 */
.left {
  /* TODO: 补充布局代码 */
  color: black;
  cursor: pointer;
  font-size: 80px;
  margin-right: 20px;
}

/* 右箭头 */
.right {
  /* TODO: 补充布局代码 */
  color: black;
  cursor: pointer;
  font-size: 80px;
}

.dots {
  /* TODO: 补充布局代码 */
  list-style: none;
  position: absolute;
  padding-top: 280px;
  /* 用于调试盒子 */
  /* background-color: aqua; */
}

.dots > li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #fff;
  border-radius: 10px;
}

.dots .active {
  width: 12px;
  height: 12px;
  margin: 0;
  background-color: #fff;
}
